﻿using System;

namespace Eassets.Layered.Domain
{
    [Serializable]
    public class CompanyDetails
    {
        #region Fields
        /// <summary>
        /// The Id of the Category
        /// </summary>
        private int locationId;
        /// <summary>
        /// Category Code
        /// </summary>
        private String companyCode;

        /// <summary>
        /// 
        /// </summary>
        private String locationCode;

        /// <summary>
        /// 
        /// </summary>
        private String locationName;

        #endregion

        #region Property

        public int LocationId
        {
            get
            {
                return this.locationId;
            }
            set
            {
                this.locationId = value;
            }
        }

        /// <summary>
        /// Gets or sets the Category ID of the Category.
        /// </summary>
        public string CompanyCode
        {
            get
            {
                return this.companyCode;
            }
            set
            {
                this.companyCode = (value != null) ? value : string.Empty;
                //this.code = value;
            }
        }


        public string LocationCode
        {
            get
            {
                return this.locationCode;

            }
            set
            {
                this.locationCode = (value != null) ? value : string.Empty;
                //this.code = value;
            }
        }

        public string LocationName
        {
            get
            {
                return this.locationName;

            }
            set
            {
                this.locationName = (value != null) ? value : string.Empty;
                //this.code = value;
            }
        }

        #endregion
    }
}
